package zb.blog.base.bean;

import java.io.Serializable;

/**
 * @Author: BinZhang
 * @Date: 2018/5/1 15:29
 * @Description:用于封装返回值传递给前端
 */
public class Result implements Serializable {
    private int status; //状态
    private Object data;//数据
    private Boolean success;//是否成功 true：成功 false：失败
    private String msg;//提示信息

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
